package kr.co.pension.usr.pe.re.service;

import java.util.List;
import java.util.Map;

import kr.co.pension.usr.pe.re.dao.ChkAdminDao;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ChkAdminService {
	@Autowired
	public ChkAdminDao dao;
	

	public int insertAdminCnt(Map vo) throws Exception {
		return dao.insertAdminCnt(vo);
	}
	public int insertAdmin(Map vo) throws Exception {
		return dao.insertAdmin(vo);
	}
	
	public void insertAdmHp(Map vo) throws Exception {
		dao.insertAdmHp(vo);
	}
	
	

	public int updateAdmin(Map vo) throws Exception {
		return dao.updateAdmin(vo);
	}
	


	public int deleteAdminHp(Map vo) throws Exception {
		return dao.deleteAdminHp(vo);
	}
	


	public Map getAdminUsr(Map vo) throws Exception {
		return dao.getAdminUsr(vo);
	}
	
	public List getAdmHp(Map vo) throws Exception {
		return dao.getAdmHp(vo);
	}
	public List admList(Map vo) throws Exception {
		return dao.admList(vo);
	}
	public List usrList(Map vo) throws Exception {
		return dao.usrList(vo);
	}
	
	
	public int usrListCnt(Map vo) throws Exception {
		return dao.usrListCnt(vo);
	}
	
	
	public List adminCode(Map vo) throws Exception {
		return dao.adminCode(vo);
	}
	
	public List samAdminList(Map vo) throws Exception {
		return dao.samAdminList(vo);
	}
	
	
}
